package com.ll.menu.user.dialog;

import android.content.Context;
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.TextView;

import com.droid.library.dialog.AbsDialog;
import com.ll.menu.user.R;

import butterknife.ButterKnife;
import butterknife.InjectView;
import butterknife.OnClick;

/**
 * 状态Dialog
 *
 * @author wangheng
 */
public class StatusDialog extends AbsDialog {


    @InjectView(R.id.tvStatusDialogFoodName)
    TextView mNameTextView;

    @InjectView(R.id.tvStatusDialogStatus1)
    TextView mStatus1TextView;

    @InjectView(R.id.tvStatusDialogStatus2)
    TextView mStatus2TextView;

    @InjectView(R.id.tvStatusDialogStatus3)
    TextView mStatus3TextView;

    @InjectView(R.id.tvStatusDialogReminder)
    TextView mReminderTextView;

    @InjectView(R.id.tvStatusDialogReturn)
    TextView mReturnTextView;

    @InjectView(R.id.tvStatusDialogSale)
    TextView mSaleTextView;

    public StatusDialog(@NonNull Context context) {
        super(context);
    }

    protected StatusDialog(@NonNull Context context, boolean cancelable,
                           @Nullable OnCancelListener cancelListener) {
        super(context, cancelable, cancelListener);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.dialog_status);

        ButterKnife.inject(this);
    }

    @OnClick({R.id.tvStatusDialogReminder,R.id.tvStatusDialogReturn,R.id.tvStatusDialogSale})
    public void onClick(View view){
        switch (view.getId()){
            case R.id.tvStatusDialogReminder:

                break;
            case R.id.tvStatusDialogReturn:

                break;
            case R.id.tvStatusDialogSale:

                break;
        }
    }
}
